﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="changePassword.aspx.cs" Inherits="Account_changePassword" %>


<asp:Content ID="Content1" ContentPlaceHolderID="Stylesheet" Runat="Server">
    <link href="../Styles/StyleLogin.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/ContactsControlCSS.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="SubNavigation" Runat="Server">
    <ul>
        <li class="first">
            <asp:HyperLink ID="lnkOverview" NavigateUrl="~/account/default.aspx" runat="server">Overview</asp:HyperLink>
        </li>
        <li class="middle">
            <asp:HyperLink ID="lnkAccountInformation" NavigateUrl="~/billing/default.aspx" runat="server">Billing</asp:HyperLink>
        </li>
        <li  class="middle">
            <asp:HyperLink ID="lnkUsers" NavigateUrl="~/users/default.aspx" runat="server">Users</asp:HyperLink>
        </li>
        <li  class="middle">
            <asp:HyperLink ID="lnkNotifications" NavigateUrl="~/notifications/default.aspx" runat="server">Notifications</asp:HyperLink>
        </li>
        <li  class="last">
            <asp:HyperLink ID="lnkYourInfo" NavigateUrl="~/account/yourinformation.aspx" runat="server">Your Info</asp:HyperLink>
        </li>
    </ul>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PageHeader" Runat="Server">
    <asp:Label ID="Label1" runat="server" Text="Change Password" Font-Size="X-Large"></asp:Label>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" Runat="Server">
    <div align="left" class="content">
        <br />
        <div class="divTable">
             <div class="headRow">
                <asp:Label ID="lblNameUser" runat="server" Text="Name User"></asp:Label>
             </div>
             <div class="divRow">
                 <div class="divCell">
                    <asp:Label ID="Label2" runat="server" Text="Current password"></asp:Label>
                 </div>
                 <div class="divCell">
                    
                 </div>
            </div>
           <div class="divRow">
                  <div class="divCell">
                    <asp:TextBox ID="txtCurrentPassword" CssClass = "textbox" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ErrorMessage="(*)" ControlToValidate="txtCurrentPassword" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                      <asp:Label ID="lblWrongPass" runat="server" ForeColor="Red" 
                          Text="Wrong current password" Visible="False"></asp:Label>
                  </div>
                  <div class="divCell">
                    
                  </div>
            </div>
            <div class="divRow">
                 <div class="divCell">
                    <asp:Label ID="Label3" runat="server" Text="Choose a password"></asp:Label>
                 </div>
                 <div class="divCell">
                    
                 </div>
            </div>
           <div class="divRow">
                  <div class="divCell">
                    <asp:TextBox ID="txtPasswordNew" CssClass = "textbox" runat="server" TextMode="Password"></asp:TextBox>
                  </div>
                  <div class="divCell">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="(*)" ControlToValidate="txtPasswordNew" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                  </div>
            </div>
            <div class="divRow">
                <div class="divCell">
                    <asp:Label ID="Label4" runat="server" Text="Re-enter password"></asp:Label>
                 </div>
                 <div class="divCell">
                    
                 </div>
           </div>
           <div class="divRow">
                  <div class="divCell">
                    <asp:TextBox ID="txtRePassword" CssClass = "textbox" runat="server" TextMode="Password"></asp:TextBox>
                  </div>
                  <div class="divCell">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="(*)" ControlToValidate="txtRePassword" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                     ControlToCompare="txtPasswordNew" ControlToValidate="txtRePassword" 
                     ErrorMessage="Passwords do not match." ForeColor="Red">Passwords do not match.</asp:CompareValidator>
                  </div>
            </div>
            <div class="divRow">
                <div class="divCell">
                    <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" /> or
                    <asp:HyperLink ID="hlCancle" runat="server" NavigateUrl="Default.aspx">Cancel</asp:HyperLink>
                </div>
           </div>
      </div>
    </div>
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="SideBar" Runat="Server">
</asp:Content>